<template>
  <div>
    <el-container>
        <el-aside width="auto">
            <CommonAside/>
        </el-aside>
        <el-container>
            <el-header>
                <CommonHeader/>
            </el-header>
            <CommonTags/>
            <el-main>
                <router-view></router-view>
            </el-main>
        </el-container>
    </el-container>
  </div>
</template>

<script>
import CommonAside from '../components/CommonAside.vue'
import CommonHeader from '../components/CommonHeader.vue'
import CommonTags from '../components/CommonTags.vue'

export default {
    name:'Main',
    components:{
        CommonAside,
        CommonHeader,
        CommonTags
    }
}
</script>

<style>
.el-header{
    padding: 0;
}
.el-main{
    margin-top: -15px;
}
</style>